package com.foreveross.taskservice.taskcache.redis;

import java.io.Serializable;

import com.foreveross.taskservice.common.model.airfreight.AirFreightTaskModel;
import com.foreveross.taskservice.taskcache.QueryIndex;
import com.foreveross.taskservice.taskcache.TaskAddQueryIndexApplication;

/**
 * 一份查询索引的记录
 * 
 * @author guokenye
 * 
 */
final class QueryIndexLog implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -7538750401229024257L;

	private String targetTaskId;
	private QueryIndex queryIndex;
	private TaskAddQueryIndexApplication<AirFreightTaskModel> queryIndexApplication;

	public String getTargetTaskId() {
		return targetTaskId;
	}

	public void setTargetTaskId(String targetTaskId) {
		this.targetTaskId = targetTaskId;
	}

	public QueryIndex getQueryIndex() {
		return queryIndex;
	}

	public void setQueryIndex(QueryIndex queryIndex) {
		this.queryIndex = queryIndex;
	}

	public TaskAddQueryIndexApplication<AirFreightTaskModel> getQueryIndexApplication() {
		return queryIndexApplication;
	}

	public void setQueryIndexApplication(
			TaskAddQueryIndexApplication<AirFreightTaskModel> queryIndexApplication) {
		this.queryIndexApplication = queryIndexApplication;
	}

}
